<utask-loader *ngIf="loading"></utask-loader>
<lib-utask-error-message [data]="error" *ngIf="error"></lib-utask-error-message>

<ng-container *ngIf="!loading && !error">
    <lib-utask-editor class="editor" [ngModel]="templateYAML" ngDefaultControl [ngModelOptions]="{standalone: true}"
        [config]="{ language: 'yaml', readOnly: true, wordWrap: 'on' }">
    </lib-utask-editor>
    <lib-utask-steps-viewer [resolution]="template" *ngIf="template"></lib-utask-steps-viewer>
</ng-container>